package com.financing.wap.service;

import com.financing.wap.dto.UserAgreeAgreementDTO;


public interface IUserAgreeAgreeMentService {
	
	/**
	 * 通过协议同意情况ID查询
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public UserAgreeAgreementDTO getUserAgreeAgreementById(int id) throws Exception;
	
	/**
	 * 通过登录名查询协议同意情况
	 * @param loginName
	 * @return
	 * @throws Exception
	 */
	public UserAgreeAgreementDTO getUserAgreeAgreementByUserLoginName(String loginName) throws Exception;
	
	/**
	 * 添加协议同意情况
	 * @param dto
	 * @return
	 * @throws Exception
	 */
	public UserAgreeAgreementDTO addUserAgreeAgreement(UserAgreeAgreementDTO dto) throws Exception;

}
